import request from '@/utils/request.js'

// 管道参数表
export const getPipeParametersList = () => {
    return request({
        url: '/pipeParameters/list',
        method: 'GET',
    })
}

// 输油泵参数表
export const getOilPumpParametersList = () => {
    return request({
        url: '/pumpParameters/list',
        method: 'GET',
    })
}


// 站场运行参数保护设定值
export const getStationRunParametersList = () => {
    return request({
        url: '/parameterProtection/list',
        method: 'GET',
    })
}

export const modifyStationRunParameters = (data) => {
    return request({
        url: '/parameterProtection/save',
        method: 'POST',
        data
    })
}